export const INIT_FIELD = { id: 0, icons: '', name: '', title: '', sort: 1, path: '', parentId: 0, actions: [], status: 0 }
export const columns = [
  {
    title: '资源名称',
    dataIndex: 'title'
  },
  {
    title: '组件图标',
    dataIndex: 'icon',
    scopedSlots: { customRender: 'icons' }
  },
  {
    title: '路由地址',
    dataIndex: 'path'
  },
  {
    title: '组件名称',
    dataIndex: 'name'
  },
  {
    title: '排序',
    dataIndex: 'sort'
  },
  {
    title: '可操作权限',
    dataIndex: 'actions',
    scopedSlots: { customRender: 'actions' }
  },
  {
    title: '状态',
    dataIndex: 'status',
    scopedSlots: { customRender: 'status' }
  },
  {
    title: '操作',
    width: '250px',
    dataIndex: 'action',
    scopedSlots: { customRender: 'action' }
  }
]
